package com.ayq.activiti.model;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class,org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
@MapperScan(value = "com.ayq.activiti.model.domain.*.repository")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ayq.activiti.manager.feign"})
public class ActivitiModelAplication {

    public static void main(String[] args) {
        SpringApplication.run(ActivitiModelAplication.class,args);
    }
}
